package com.me.forum.dao;
import java.util.List;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.me.forum.domain.PageType;
import com.me.forum.domain.User;
import com.me.forum.request.PageRequest;
import com.me.forum.request.PageTypeRequest;
import com.me.forum.request.UserRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface IPageTypeDao extends BaseMapper<PageType> {
    // IPage<PageType> selectByAll(@Param("T") PageTypeRequest ureq, IPage<PageType> page);
	IPage<PageType> selectByAll(IPage<PageType> page,@Param("t") PageTypeRequest pageType);

	
	
    boolean insertSelective(PageTypeRequest preq);

    // boolean updateByPageType(PageTypeRequest preq);
	int updateByPageType(PageTypeRequest updated);

	
}
